@charset "utf-8";
.main {
    min-width: 3.2rem;
    max-width: 7.5rem;
    position: relative;
    margin: 0 auto;
    padding-bottom: .51rem
}

.home-top {
    width: 100%;
    position: absolute;
    top: 0.1rem;
    left: 0;
    z-index: 9999;
}

.home-top p {
    width: .8rem;
    line-height: 0.3rem;
    text-align: center;
    color: #fff;
}

.home-top .search {
    width: 100%;
    margin-left: -0.8rem;
    margin-right: -0.8rem;
}

.home-top .search .search-input {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    border: 1px solid #eee;
}

.home-top .search .search-input input {
    width: 100%;
    line-height: .28rem;
    text-indent: 0.2rem;
}


/* Swiper CSS */

.swiper-container {
    width: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: .18rem;
    background: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    /*    -webkit-justify-content: center;*/
    /*    justify-content: center;*/
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.carousel img,
.ad1 img,
.ad2 img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* Nav CSS */

.nav {
    width: 100%;
    padding-top: 0.02rem;
    padding-bottom: 0.15rem;
}

.nav .nav-row {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin-top: 0.08rem;
}

.nav .nav-col {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: block;
    width: 100%;
}

.nav .nav-icon {
    display: block;
    width: 100%;
    text-align: center;
}

.nav .nav-icon img,
.nav .nav-icon span {
    display: inline-block;
    padding: 0.02rem;
}

.broadcast {
    width: 100%;
    border-top: 1px solid #eee;
}

.broadcast .broadcast-icon {
    width: .4rem;
    height: .4rem;
    line-height: .4rem;
    text-align: center;
    border-right: 1px solid #eee;
}

.broadcast .broadcast-cont {
    width: 100%;
    margin-left: -0.41rem;
}

.broadcast .broadcast-cont p {
    margin-left: 0.5rem;
    line-height: .4rem;
    color: #db384c;
}

section:before {
    display: block;
    width: 100%;
    height: .1rem;
    background-color: #eee;
    content: "";
}


/* 秒杀 CSS */

.box {
    width: 100%;
    position: relative;
}

.ms-title {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    margin-top: .1rem;
}

.ms-title h3 {
    padding-left: .1rem;
    padding-right: .1rem;
    line-height: .3rem;
}

.ms-title p {
    margin-right: .1rem;
    background-color: #db384c;
    border-radius: .04rem;
    padding-left: .05rem;
    padding-right: .05rem;
    line-height: .2rem;
}

.ms-title p > a {
    color: #fff;
    font-size: .12rem;
}

.ms-title .ms-title-time {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    line-height: .2rem;
}

.ms-title .ms-title-time > span:not(:first-child) {
    display: inline-block;
    width: .12rem;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: .03rem;
}

.ms-title .ms-title-time > span:nth-of-type(2n) {
    margin-right: .03rem;
}

.ms-cont {
    width: 100%;
    /*position: relative;*/
    padding-top: .15rem;
    padding-bottom: .15rem;
    /*overflow: hidden;*/
}

.ms-cont .ms-cont-list {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    box-sizing: border-box;
    width: 100%;
    padding-left: .1rem;
    padding-right: .1rem;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.ms-cont .ms-cont-item {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    align-self: center;
}

.ms-cont .ms-cont-item a {
    display: block;
    width: 100%;
    text-align: center;
}

.ms-cont .ms-cont-item img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.ms-cont .ms-cont-item p {
    font-size: .12rem;
    font-weight: bold;
    color: #db384c;
    line-height: .2rem;
}


/* 特色 CSS */

.b-title {
    margin-top: .1rem;
    border-bottom: 1px solid #eee;
}

.b-title h2 {
    padding-left: .1rem;
    line-height: .4rem;
}

.ts-cont {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.ts-cont .ts-row {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ts-cont .ts-row-first {
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    flex: 2;
    border-bottom: 1px solid #eee;
}

.ts-cont .ts-row-item {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.ts-cont a {
    display: block;
    box-sizing: border-box;
    width: 100%;
}

.ts-cont .ts-item-first a {
    border-right: 1px solid #eee;
}

.ts-cont img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* 主题馆 CSS */

.ztBox img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.zt-cont {
    width: 100%;
}

.zt-cont .zt-row-first {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.zt-cont .zt-row-first > a {
    display: block;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.zt-cont .zt-first-item {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    box-sizing: border-box;
    padding-top: .1rem;
    padding-left: .1rem;
}

.zt-cont .zt-first-item > div {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.zt-cont p {
    font-size: .12rem;
    color: #db384c;
    line-height: .3rem;
}

.zt-cont .zt-row-list {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.zt-cont .zt-row-list .zt-row {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-top: 1px solid #eee;
}

.zt-cont .zt-row-item {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.zt-cont .zt-row-item > a {
    display: block;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    box-sizing: border-box;
    padding-top: .1rem;
    padding-left: .1rem;
    padding-right: .1rem;
}

.zt-cont .zt-row-item > a:not(:first-child) {
    border-left: 1px solid #eee;
}


/* 品牌推荐 CSS */

.ppBox img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pp-cont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.pp-cont > a {
    display: block;
    width: 27%;
    box-sizing: border-box;
}

.pp-cont > a:first-child {
    width: 46%;
}

.pp-cont > a:last-child {
    border-left: 1px solid #eee;
}


/* 店铺推荐 CSS */

.dpBox img {
    display: block;
    max-width: 100%;
    height: auto;
}

.dp-item {
    margin-top: .04rem;
}

.dp-item .dp-logo {
    width: .4rem;
    height: .4rem;
    padding: .12rem;
}

.dp-item h3 {
    font-size: .16rem;
    text-align: left;
    line-height: .2rem;
    color: #333;
    padding-top: .12rem;
}

.dp-item p {
    font-size: .16rem;
    text-align: left;
    line-height: .2rem;
}

.dp-item p > span {
    display: inline-block;
    background-color: #db384c;
    color: #fff;
    padding-left: .02rem;
    padding-right: .02rem;
}

.db-goods {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.db-goods > div {
    display: block;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: .04rem;
}


/* 专享推荐 CSS */

.zx {
    width: 100%;
    margin-top: .6rem;
}

.zx img {
    display: block;
    max-width: 100%;
    height: auto;
}

.zx-title {
    width: 100%;
    height: .45rem;
    text-align: center;
    background-color: #eee;
}

.zx-title:after {
    display: block;
    width: 96%;
    content: '';
    border-top: 1px solid #666;
    position: relative;
    left: 2%;
    top: -50%;
}

.zx-title h2 {
    display: inline-block;
    line-height: .45rem;
    padding-left: 2%;
    padding-right: 2%;
    background-color: #eee;
    position: relative;
    z-index: 1;
}

.zx-list {
    width: 100%;
    background-color: #eee;
}

.zx-list li {
    width: 49.5%;
    float: left;
    margin-top: .06rem;
    background-color: #fff;
    padding-bottom: .1rem;
}

.zx-list li:nth-child(even) {
    float: right!important;
}

.zx-list li > div {
    width: 100%;
}

.zx-list li a {
    display: block;
    width: 100%;
}

.zx-list .zx-price p {
    box-sizing: border-box;
    padding-left: .18rem;
    padding-right: .18rem;
    line-height: .2rem;
    color: #333;
}

.zx-list .zx-price p:first-child {
    margin-top: .1rem;
    height: .4rem;
}

.zx-list .zx-price p:last-child span {
    font-size: .16rem;
    color: #db384c;
    padding-right: .15rem;
}


/* Media query */

@media screen and (max-width: 750px) {
    .nav .nav-icon img {
        width: .4rem;
        height: auto;
    }
    .nav .nav-icon span {
        font-size: .12rem;
    }
}

@media screen and (min-width: 751px) {
    h2 {
        font-size: .24rem;
    }
    .zt-cont h3 {
        font-size: .21rem;
        padding-top: .1rem;
        padding-left: .1rem;
    }
    .zt-cont p {
        font-size: .18rem!important;
        line-height: .4rem!important;
        padding-left: .1rem;
    }
    .dp-item .dp-logo {
        width: .8rem;
        height: .8rem;
        padding: .16rem;
    }
    .dp-item h3 {
        font-size: .21rem;
        line-height: .4rem;
        padding-top: .16rem;
    }
    .dp-item p {
        font-size: .21rem;
        line-height: .3rem;
    }
    .zx-title {
        height: .9rem;
    }
    .zx-title h2 {
        line-height: .9rem;
    }
    .zx-list .zx-price p {
        font-size: .21rem;
        line-height: .3rem;
    }
    .zx-list .zx-price p:first-child {
        margin-top: .15rem;
        height: .6rem;
    }
    .zx-list .zx-price p:last-child span {
        font-size: .24rem!important;
    }
}

footer {
    width: 100%;
    height: .5rem;
    background-color: #eee;
    border-top: 1px solid #d5d5d5;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

footer > a {
    width: 25%;
    text-align: center;
}

footer i {
    display: block;
    width: .3rem;
    height: .3rem;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.ai1 {
    background-image: url(../images/icon-01.png);
}

.ai2 {
    background-image: url(../images/icon-02.png);
}

.ai3 {
    background-image: url(../images/icon-03.png);
}

.ai4 {
    background-image: url(../images/icon-04.png);
}